﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using HienThi;
using BUS;

namespace GUI
{
    public partial class Form_BaoDiemThanhVien : UserControl
    {
        public Form_BaoDiemThanhVien()
        {
            InitializeComponent();
        }

        private void Form_BaoDiemThanhVien_Load(object sender, EventArgs e)
        {
            BaoDiemThanhVienBUS bus = new BaoDiemThanhVienBUS();
            List<ThanhVien> cbb = bus.LayBangThanhVien();
            cbbThanhVien.Properties.DataSource = cbb;
            cbbThanhVien.ItemIndex = 0;
            int CV = bus.LayCV(cbbThanhVien.EditValue.ToString());
            txtTongCV.EditValue = CV.ToString();
        }
        /*public List<BaoDiemThanhVienHienThi> LayBangBaoDiemThanhVienHienThi(string matv)
        {

        }*/
    }
}
